package com.yunda.nebula.gateway.service;

import com.yunda.nebula.gateway.core.entity.FetchAppInfo;
import com.yunda.nebula.gateway.wrapper.DeferredResultWrapper;

/**
 * \* User: wei.zhang
 * \* Date: 2020/9/18 10:02
 * \* Description:
 *
 * @author wei.zhang
 * \
 */

public interface INotifyService {
    public boolean setResult(String key, DeferredResultWrapper resultWrapper);

    public void remove(String key);

    public void notify(String key, FetchAppInfo fetchAppInfo);
}
